'use strict';

async function getAll(ctx, next) {
    ctx.body = '所有的学校'
}
async function getById(ctx, next) {

}
async function addItem(ctx, next) {

}
async function updateItem(ctx, next) {

}
async function delItem(ctx, next) {

}

module.exports = {
    'get /schools': getAll,
    'get /schools/:id': getById,
    'post /schools': addItem,
    'put /schools/:id': updateItem,
    'delete /schools/:id': delItem,
}
